require 'rubygems'  
require 'active_record'  

#Active record configuration
ActiveRecord::Base.establish_connection(  
  :adapter => "sqlite3",  
  :database => "log.sqlite"  
)  

#Entry model, structure defined by the database
class Entry < ActiveRecord::Base
end

